package cuiyt.designpattern.Builder.demo02;

/**
 * @author cyt
 * @create 2020-04-24 14:26
 */
public class Test {
    public static void main(String[] args) {
        Worker worker = new Worker();
        Product product = worker
                .builderA("汉堡")
              //   .builderB("鸡翅")
                .builderD("可乐")
                .getProduct();
        System.out.println(product);
    }
}
